import http from "./http";


export const listFriendLink = () => {
    return http.requestGet("/admin/friend_link/list");
}

export const deleteFriendLink = (_id) => {
    return http.requestDelete("/admin/friend_link/" + _id);
}

export const updateFriendLink = (_FriendLink) => {
    return http.requestPut("/admin/friend_link/" + _FriendLink.id, _FriendLink);
}

export const postFriendLink = (_FriendLink) => {
    return http.requestPost("/admin/friend_link/", _FriendLink);
}